
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>用户注册 - 熊猫知识库</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="keywords" content="用户注册,甜甜圈,知识库,问答系统">
  <meta name="description" content="用户注册,甜甜圈,知识库,问答系统">
  <#include "/common/header.html">

<div class="main layui-clear">

  <div class="fly-panel fly-panel-user" pad20>
    <div class="layui-tab layui-tab-brief">
      <ul class="layui-tab-title">
        <li><a href="/login.html">登入</a></li>
        <li class="layui-this">注册</li>
      </ul>
      <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding: 20px 0;">
        <div class="layui-tab-item layui-show">
          <div class="layui-form layui-form-pane">
            <form method="post" action="/user/reg">
              <div class="layui-form-item">
                <label for="username" class="layui-form-label">邮箱</label>
                <div class="layui-input-inline">
                  <input type="text" id="username" name="username" required lay-verify="email" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux"><font class="red-star">*</font>您的登录用户名</div>
              </div>
              <div class="layui-form-item">
                <label for="L_vercode" class="layui-form-label">验证码</label>
                <div class="layui-input-inline">
                  <input type="text" id="L_vercode" name="vercode" required lay-verify="required" placeholder="请输入邮箱接收到的验证码" autocomplete="off" class="layui-input">
                </div>
                  <button class="layui-btn" id="getVcBtn" >获取验证码</button>
              </div>
              <div class="layui-form-item">
                <label for="name" class="layui-form-label">昵称</label>
                <div class="layui-input-inline">
                  <input type="text" id="name" name="name" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux"><font class="red-star">*</font>显示给别人看的名称</div>
              </div>
              <div class="layui-form-item">
                <label for="password" class="layui-form-label">密码</label>
                <div class="layui-input-inline">
                  <input type="password" id="password" name="password" required lay-verify="password" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux"><font class="red-star">*</font>6到16个字符</div>
              </div>
              <div class="layui-form-item">
                <label for="confirmPwd" class="layui-form-label">确认密码</label>
                <div class="layui-input-inline">
                  <input type="password" id="confirmPwd" name="confirmPwd" required lay-verify="confirmPwd" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux"><font class="red-star">*</font>请再次输入密码</div>
              </div>
              <div class="layui-form-item">
                <button class="layui-btn" lay-filter="*" lay-submit>立即注册</button>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>

</div>

<#assign jsFilename="login">
<#include "/common/footer.html">

</body>
</html>